package com.cal.utms.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * The persistent class for the payment_receipt_view database table.
 * 
 */
@Entity
@Table(name = "payment_receipt_view")
@NamedQuery(name = "PaymentReceiptView.findAll", query = "SELECT p FROM PaymentReceiptView p")
public class PaymentReceiptView implements Serializable {
	private static final long serialVersionUID = 1L;

	@Temporal(TemporalType.DATE)
	@Column(name = "AFFECT_DATE")
	private Date affectDate;

	private BigDecimal amont;

	@Column(name = "CUSTOMER_TYPE")
	private String customerType;

	@Id
	private int id;

	@Column(name = "RELATED_FUND_ID")
	private int relatedFundId;

	@Column(name = "TRAN_TO")
	private int tranTo;

	public PaymentReceiptView() {
	}

	public Date getAffectDate() {
		return this.affectDate;
	}

	public void setAffectDate(Date affectDate) {
		this.affectDate = affectDate;
	}

	public BigDecimal getAmont() {
		return this.amont;
	}

	public void setAmont(BigDecimal amont) {
		this.amont = amont;
	}

	public String getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getRelatedFundId() {
		return this.relatedFundId;
	}

	public void setRelatedFundId(int relatedFundId) {
		this.relatedFundId = relatedFundId;
	}

	public int getTranTo() {
		return this.tranTo;
	}

	public void setTranTo(int tranTo) {
		this.tranTo = tranTo;
	}

}